
<table>
	<tr>
		<td>upload_tmp_dir:</td>
		<td><?= ini_get('upload_tmp_dir') ?></td>
	</tr>
	<tr>
		<td>upload_max_filesize:</td>

		<td><?= ini_get('upload_max_filesize') ?></td>
	</tr>
	<tr>
		<td>post_max_size:</td>
		<td><?= ini_get('post_max_size') ?></td>
	</tr>
	<tr>
		<td>open_basedir:</td>

		<td><?= ini_get('open_basedir') ?></td>
	</tr>	
	<tr>
		<td>$_FILES</td>
		<td><pre><?= var_export($_FILES) ?></pre></td>
	</tr>	
	<tr>
		<td>$_POST</td>
		<td><pre><?= var_export($_POST) ?></pre></td>

	</tr>
	<? if(function_exists("apc_fetch") && isset($_POST['APC_UPLOAD_PROGRESS'])): ?>
	<tr>
		<td>APC</td>
		<td><pre><?= var_export(apc_fetch('upload_'.$_POST['APC_UPLOAD_PROGRESS'])) ?></pre></td>
	</tr>
	<? endif ?>
</table>

<form enctype="multipart/form-data" method="post">
	<input type="hidden" name="APC_UPLOAD_PROGRESS" value="teste" />
	<input type="file" name="arquivo" />
	<input type="submit" value="enviar" />
</form>
